package com.druid.model;

import lombok.Data;

import java.awt.*;
import java.io.*;

@Data
public class ImageOptions {

    private InputStream inputStream;
    private OutputStream maskStream;
    private OutputStream newImageStream;
    private Rectangle rectangle;
    private boolean rectanglePicRelevance;

    public ImageOptions(InputStream inputStream,Rectangle rectangle,boolean rectanglePicRelevance) throws FileNotFoundException {
        this.inputStream = inputStream;
        this.maskStream = new ByteArrayOutputStream();
        this.newImageStream = new ByteArrayOutputStream();
        this.rectangle = rectangle;
        this.rectanglePicRelevance = rectanglePicRelevance;
    }
}
